<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Notepad</title>

    <!-- bootstrap -->
    <link rel="stylesheet" href="/static/css/bootstrap.min.css" />

    <!-- animate.css -->
    <link rel="stylesheet" href="/static/css/animate.min.css" />

    <!-- 重置样式 -->
    <link rel="stylesheet/less" href="/static/css/reset.less" />

    <!-- 公共样式 -->
    <link rel="stylesheet/less" href="/static/css/common.less" />

    <!-- 页面独立的 -->
    <link rel="stylesheet/less" href="/static/css/UserLogin.less" />
</head>
<style>
    a.btn{
        margin-top: 5vh;
    }
</style>
<body>
    <!-- 用户信息 -->
    <div class="user">
        <div class="avatar wow fadeInUp">
            <img src="/static/images/avatar.png" />
        </div>

        <div class="notice wow fadeInUp" data-wow-delay="100ms">注册</div>
    </div>

    <form class="login wow fadeInUp" data-wow-delay="200ms" method="post">
        <div class="form-group">
            <label for="email">邮箱</label>
            <input type="email" class="form-control" id="email" name="email" placeholder="请输入邮箱" required />
        </div>

        <div class="form-group">
            <label for="password">密码</label>
            <input type="password" class="form-control" id="password" name="password" placeholder="请输入密码" required />
        </div>

        <div class="form-group">
            <label for="captcha">验证码</label>
            <div style="display: flex;">
                <input type="text" class="form-control" autocomplete="off" style="width: 50%;" name="captcha" id="captcha" placeholder="请输入验证码" required />
                <div><img src="{:url('index/verify')}" alt="captcha" style="margin-top: -1vh;margin-left: 5vw;" onclick="this.src = `{:url('index/verify')}`" /></div>
            </div>
        </div>
        
        <div class="action">
            <button class="btn" type="submit">注册</button>
            <a href="{:url('index/login')}" class="btn">去登录</a>
        </div>
    </form>
</body>
</html>
<!-- 解析less的文件 -->
<script src="/static/js/less.min.js"></script>

<!-- jquery  -->
<script src="/static/js/jquery.min.js"></script>

<!-- bootstrap -->
<script src="/static/js/bootstrap.min.js"></script>

<!-- wow.js -->
<script src="/static/js/wow.min.js"></script>

<script>
    //实例化wow.js
    new WOW().init()
</script>